﻿<basics:ChildWindow
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:basics="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	xmlns:WorldMap="clr-namespace:TheGameClient.WorldMap"
	x:Class="TheGameClient.DlgMainMapWindow"
	Title="Connect to a system"
	HorizontalAlignment="Stretch" VerticalAlignment="Stretch" mc:Ignorable="d" Margin="20" HasCloseButton="False" TabNavigation="Local" Style="{StaticResource DefaultDialogStyle}">
	<Grid x:Name="LayoutRoot" Background="#FF363636">
		<Grid.RowDefinitions>
			<RowDefinition />
			<RowDefinition Height="Auto" />
		</Grid.RowDefinitions>
		<WorldMap:WorldMapControl x:Name="worldMap" d:LayoutOverrides="Width, Height"/>
		<StackPanel HorizontalAlignment="Center" VerticalAlignment="Top" Orientation="Horizontal" Grid.Row="1">
			<Button x:Name="btnSaveConnection" Width="120" Content="Save Connection..." Margin="0,5,5,5" Click="BtnSaveConnectionClick" Effect="{StaticResource DefaultShadowSmall}"/>
			<Button x:Name="btnLoadConnection" Width="120" Content="Load Connection..." Margin="0,5,25,5" Click="BtnLoadConnectionClick" Effect="{StaticResource DefaultShadowSmall}"/>
			<Button x:Name="CancelButton" Content="Cancel" Click="CancelButtonClick" Width="75" Height="23" Margin="0,5,5,5" d:LayoutOverrides="Height" Effect="{StaticResource DefaultShadowSmall}" />
			<Button x:Name="OKButton" Content="OK" Click="OkButtonClick" Width="75" Height="23" Margin="0,5,5,5" d:LayoutOverrides="Height" Effect="{StaticResource DefaultShadowSmall}" />
		</StackPanel>
	</Grid>
</basics:ChildWindow>